﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace simplify.json.response
{
    /// <summary>
    /// Contains information about an entry in the allowed list
    /// </summary>
    public class AllowedEntry
    {
        /// <summary>
        /// The NPA for the ANI/Exchange
        /// </summary>
        public short? NPA
        {
            get;
            set;
        }

        /// <summary>
        /// The NXX for the ANI/Exchange
        /// </summary>
        [DataMember]
        public short? NXX
        {
            get;
            set;
        }

        /// <summary>
        /// The XXXX for the ANI. If XXXX is null, then the entry is an exchange
        /// </summary>
        [DataMember]
        public short? XXXX
        {
            get;
            set;
        }

        /// <summary>
        /// The city associated with the entry
        /// </summary>
        [DataMember]
        public string City
        {
            get;
            set;
        }

        /// <summary>
        /// The two-letter state code associated with the entry
        /// </summary>
        [DataMember]
        public string State
        {
            get;
            set;
        }
    }
}